Skip to content

fix(judge): store a batch's judgements in the workspace that holds the job - #434

Closed
harenome wants to merge 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/judge-all-workspace
Closed

harenome wants to merge 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/judge-all-workspace

Conversation

@harenome

Copy link
Copy Markdown
Collaborator

Closes #427

What

  • Judge all and task-instruction judging ran their calls in threads, where ws_dir() has no request and falls back to the open workspace.
  • A job opened with ?workspace=B had its paid answers stored in A; B showed none.
  • Both routes now resolve the store in the request and pass it to each call.
  • Compare already passed its columns' stores.

Verified

  • Workspaces A open and B, job in B, both routes: answers in A before, in B now.
  • test_judge_all_and_task_judging_write_into_its_own_workspace fails on main.
  • Backend 3084, routes 580.

Risk

  • Judging one trial, and jobs of the open workspace, are unchanged.
  • Undo: revert.

Agents

  • Claude Code, Opus 5.5: code, tests

@harenome
harenome marked this pull request as ready for review November 25, 2026 15:46
@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Nov 25, 2026
pierreleca pushed a commit to pierreleca/nullius that referenced this pull request Nov 26, 2026
@harenome

Copy link
Copy Markdown
Collaborator Author

Landed as 9f65487.

@harenome harenome closed this Nov 26, 2026
aitianshi added a commit that referenced this pull request Nov 26, 2026
…ntry's origin

- Judgements are the job's now (#403). The API still read the workspace's
  old store: a judged job read as unjudged, and a judged trial was asked again.
- The batch gives its threads the workspace asked, as the page does (#434).
- /catalogue says a benchmark's and an agent's origin, as the pages and
  cli list do (#437).
- The judge tests keep and read records through the pages' own store.
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Judge all on a job of another workspace stores its answers in the open one

1 participant